if(window.CH == undefined){
    window.CH = {};
}

CH.item=function(){
    this.id="";
    this.isBold=0;
    this.isItalic=0;
    this.isUnderlined=0;
    this.isRightAligned=0;
    this.isLeftAligned=0;
    this.isCenterAligned=0 
    this.fontSize="";
    this.istxt=1;
    this.innertxt="";
    this.fontcolor="0";
    this.height="0";//for image only
this.width="0";//for image only
this.xposition="0";
this.yposition="0";
this.angle="0";
}; 

CH.item.prototype.id="";
CH.item.prototype.isBold=0;  //added
CH.item.prototype.isItalic=0; //added
CH.item.prototype.isUnderlined=0; //added
CH.item.prototype.isRightAligned=0; //added
CH.item.prototype.isLeftAligned=0;//added
CH.item.prototype.isCenterAligned=0;//added
CH.item.prototype.fontSize=""; //added
CH.item.prototype.fontcolor="0";//added
CH.item.prototype.fontStyle="";//added
CH.item.prototype.istxt=1;//added
CH.item.prototype.innertxt="";//added
CH.item.prototype.height="";
CH.item.prototype.width="";

CH.item.prototype.xposition="";
CH.item.prototype.yposition="";
CH.item.prototype.angle=""; //added


CH.item.prototype.say=function(abc){
    alert(abc);
}